package com.example.boot.test.demo.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@TableName("user")
@Data
public class User implements Serializable {
    //标记主键
    @TableId(type = IdType.AUTO )
    private  Integer uid;
    @TableField
    private  String username;
    private  String password;

}
